package com.huilian.iotbox.data.po;

import lombok.Data;

import java.util.Date;


/**
 * @author 少凡
 * @date 2020/3/8 9:17
 */
@Data
public class RolePermission {

    private Integer id;
    private Integer roleId;
    private Integer permissionId;
    private boolean select;
    private Date createTime;
    private Date updateTime;

    public RolePermission(Integer roleId, Integer permissionId, boolean select) {
        this.roleId = roleId;
        this.permissionId = permissionId;
        this.select = select;
    }

    public RolePermission() {
    }
}
